package headfirst.designpatterns.factory.b_cars_factorymothod.car;

public class Bmw extends Car{
    public void drive(){  
        System.out.println(this.getName()+"----go-----------------------");  
    }  
} 